StartNavigationCallback

public interface StartNavigationCallback implements NavigationSyncCallback<P, R>

This callback is invoked before the engine starts navigation to a resource.

Use the start method to allow navigation start.

Use the ignore method to ignore navigation request.

Important: the engine will be blocked until you return control from the callback.

If the callback throws an exception, the start method will be invoked.

Types

Link copied to clipboard
public interface Params
The parameters of the StartNavigationCallback.
Link copied to clipboard
public interface Response
A response for StartNavigationCallback.

Functions

Link copied to clipboard
@CheckForNull()
public abstract R on(P params)
Invoked when the callback needs a response of type R that may be determined based on the provided callback parameters.